const selectProps = {
	//字典是否从服务器获取
	remote: {
		type: Boolean,
		default() {
			return false;
		},
	},
	//字段转换配置
	defaultFields: {
		type: Object,
		default() {
			return {
				label: 'dictValue',
				value: 'dictKey',
				bindValue: 'dictKey',
				bindLabel: 'dictValue',
				showLabel: 'dictValue',
			};
		},
	},
	//查询附带参数
	searchParams: {
		type: Object,
		default() {
			return {
				tableName: 'sys_dict',
				resultList: [],
				queryList: [],
			};
		},
	},
	//查询url
	searchUrl: {
		type: String,
		default() {
			return '';
		},
	},
	//查询功能编号
	funcCode: {
		type: String,
		default() {
			return '';
		},
	},
	//查询主字段名称
	searchField: {
		type: String,
		default() {
			return '';
		},
	},
};

export { selectProps };
